package by.epam.communalservices.entity;

public class JkhTask {
    private Long id = 0L;

    private Long idObject;

    private Long idTeam;

    private String jobDescription = "";

    private Double performTime = 0.0;

    private String status = "0";
    
    private String request = "";

    public JkhTask() {
    }

    public JkhTask(Long id, Long idObject, Long idTeam, String jobDescription,
            Double performTime, String status, String request) {
        this.id = id;
        this.idObject = idObject;
        this.idTeam = idTeam;
        this.jobDescription = jobDescription;
        this.performTime = performTime;
        this.status = status;
        this.request = request;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getIdObject() {
        return idObject;
    }

    public void setIdObject(Long idObject) {
        this.idObject = idObject;
    }

    public Long getIdTeam() {
        return idTeam;
    }

    public void setIdTeam(Long idTeam) {
        this.idTeam = idTeam;
    }

    public String getJobDescription() {
        return jobDescription;
    }

    public void setJobDescription(String jobDescription) {
        this.jobDescription = jobDescription;
    }

    public Double getPerformTime() {
        return performTime;
    }

    public void setPerformTime(Double performTime) {
        this.performTime = performTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getRequest() {
        return request;
    }
    
    public void setRequest(String request) {
        this.request = request;
    }
    
    public String toString() {
        return new StringBuilder().append("[id: ").append(getId()).append(']')
                .toString();
    }

}
